.layout{
    width: 100%;
    min-width: 320px;
    max-width: 640px;
    margin: 0 auto;
    height: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
::-webkit-scrollbar
{
    width:0.05rem;
    height:10px;
    float: right;
}
/*定义滚动条轨道
 内阴影+圆角*/
::-webkit-scrollbar-track
{
    
    -webkit-box-shadow:inset 0 0 6px rgba(0,0,0,0);
    border-radius:10px;
    background-color:white;
}
/*定义滑块
 内阴影+圆角*/
::-webkit-scrollbar-thumb
{
    border-radius:0.1rem;
    -webkit-box-shadow:inset 0 0 6px rgba(0,0,0,0);
    background-color:rgba(0,0,0,0.5);
}
/* 头部 */
.header{
    width: 100%;
    height: 0.86rem;
    min-width: 320px;
    max-width: 640px;
    line-height: 0.86rem;
    font-size: 0.35rem;
    position: fixed;
    z-index: 999;
    text-align: center;
    color: aliceblue;
    padding: 0 0.5rem;
    background: linear-gradient(to bottom,rgb(66,77,83) 0%,rgb(47,55,60) 100%);
    span{
        width: 0.5rem;
        height: 0.86rem;
        display: block;
        position: absolute;
        right: 0;
        top: 0;
        font-size: 0.4rem
    }


}
/* 顶部轮播 */
.banners{
    padding-top: 0.86rem;
    width: 100%;
    height: 4.5rem;
    position: fixed;
    min-width: 320px;
    max-width: 640px;
    .bg{
        width: 100%;
        height: 100%;
        display: block;
    }
    .navs{
        width: 100%;
        position: absolute;
        bottom: 0;
        left: 0;
        padding:0.15rem 1rem;
        .search{
            width: 50%;
            float: left;
            height: 0.45rem;
            img{
                float: right;
                display: block;
                height: 100%;
            }
        }
        .msg{
            width: 50%;
            height: 0.4rem;
            float: left;
            img{
                height:0.4rem;
                display: block;
                float: right;
            }
        }
    }
    .nav_top{
        width: 100%;
        height:0.56rem;
        background-color: rgb(229,229,229);
        a{
            width: 50%;
            height: 0.56rem;
            line-height:0.56rem;
            padding: 0.1rem 0.9rem;
            font-size: 0.24rem;
        }
        a:nth-of-type(1){
            border-right: 0.02rem solid white;
            border-bottom: 0.05rem solid rgb(211,13,5);
        }
    }
    .music{
        width: 0.6rem;
        height: 0.6rem;
        position: absolute;
        right: 0.3rem;
        top: 30%;
        transform: translateY(-50%);
        img{
            width: 100%;
            display: block;
            animation:music 2s linear infinite;
            @keyframes music {
                from{
                    transform: rotate(0deg);
                }
                to{
                    transform: rotate(360deg);
                }
            }
        }
    }
}
/* 中间内容部分 */
.content{
    width: 100%;
    height: 100%;
    flex: 1;
    padding-top: 79%;
    .main{
        width: 100%;
        height: 100%;
        padding:0.08rem;
        overflow-y: auto;
        ul{
            width: 100%;
            height: 100%;
            text-align: center;
            padding: 0.03rem;
           
            li{
                width: 33%;
                float: left;
                padding: 0.08rem;
                border: 0.01rem solid red;
                margin-right: 0.03rem;
                margin-bottom: 0.03rem;
                img{
                    width: 100%;
                    display: block;
                }
                h3{
                    color: #666;
                }
                p{
                    text-align: left;
                    font-size: 0.1rem;
                }
                .vote{
                    width: 100%;
                    height: 0.5rem;
                    line-height: 0.5rem;
                    border-radius: 0.1rem;
                    margin-top: 0.2rem;
                    background-color: rgb(197,41,33);
                    color: white;
                    font-size: 0.28rem;
                    text-align: center;
                }
            }
            li:nth-of-type(3n){
                margin-right: 0rem;
            }
        }
    }

}